class Kline_analysis:
    '''
    K线形态分析
    '''

    def trend_analysis(self, pd_series):
        '''
        形态分析（上升，下降）
        '''

        return None

    def gold_cross(self, pd_series):
        '''
        金叉判断
        '''

        return None

    def dead_cross(self, pd_series):
        '''
        死叉判断
        '''

        return None

    def k_up_average(self, value, ave_value):
        '''
        当前价格在均线之上
        '''
        return value >= ave_value

    def k_down_average(self, value, ave_value):
        '''
        当前价格在均线之下
        '''
        return value < ave_value
